<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\DB;
class MemberController extends Controller
{
    public function info($id){
//        return 'member-info';
        //return route('memberinfo');
        $data = DB::select('select * from abc');

        $action = \Route::current()->getActionName();
        list($class, $method) = explode('@', $action);
        $class = substr(strrchr($class,'\\'),1);

        return ['controller' => $class, 'method' => $method];
        //return view('member-info');

    }
}